<include file="Public/head"/>
<link type="text/css" rel="stylesheet" href="{:get_style_cdnurl()}paimai/yunying/plugin/select2/select2.css" />
<script src="{:get_style_cdnurl()}paimai/yunying/plugin/select2/select2.js" type="text/javascript"></script>
<script src="http://img1.isou365.cn/paimai/yunying/js/city.js" type="text/javascript"></script>
<style>
    .xuanzhe ul li .menDao1{width:300px;}
    .xuanzhe ul li .menDao1 a{display:block;background:#cecece;color:#303030;float:left;width:36px; text-align:center;height:20px; line-height:20px; cursor:pointer;}
    .xuanzhe ul li .menDao1 .menHover{ background:#20ab4f;color:#fff;}
    .xuanzhe .lift-truck{width:280px;padding:10px;display:block; background:#e1e1e1;border-radius:5px;margin-left:60px;margin-top:-10px;}
    .xuanzhe .lift-truck #taker_phone,.xuanzhe .lift-truck #taker_sex,.xuanzhe .lift-truck #taker_card,.xuanzhe .lift-truck #take_car_num{width:280px; display:block;height:30px; line-height:30px; text-align:left;}
    .xuanzhe .lift-truck span em{float:left; display:block;width:60px; text-align:right;}
</style>
<include file="Public/common_header"/>
<div class="mian">
    <include file="Public/sidebar" menu="pmgl.cszy"/>
    <div class="mianR">
        <h3 class="yonghu"> 车商争议详情</h3>
        <div class="chezhu-xinxi">
            <div class="xinxi-conter xinxi-conter1" style="background: none;border: none">
                <h4 class="order_no">拍卖单号：<b>{$detail.order_no}</b></h4>
            </div>
            <br/>
            <?php if (isset($detail['car_source']) && $detail['car_source'] == 2) { ?>
                <div class="xinxi-conter xinxi-conter1">
                    <h4>车主信息</h4>
                    <ul>
                        <li class="clearfix">
                            <em>车主类型</em>
                            <em class="name-text">{$detail.owner_type_name}</em>
                            <if condition="$detail.owner_type eq 1">
                                <em>车主姓名</em>
                                <em class="name-text">{$detail.seller_name}</em>
                                <else />
                                <em>公司名称</em>
                                <em class="name-text">{$detail.seller_name}</em>
                            </if>
                        </li>
                        <li class="clearfix">
                            <if condition="$detail.owner_type eq 1">
                                <em>联系电话</em>
                                <em class="name-text">{$detail.phone}</em>
                                <else />
                                <em>联系人姓名</em>
                                <em class="name-text">{$detail.owner_contact_person}</em>
                                <em>联系电话</em>
                                <em class="name-text">{$detail.phone}</em>
                            </if>
                        </li>
                    </ul>
                </div>
                <br/>
            <?php } ?>
            <div class="xinxi-conter xinxi-conter1">
                <h4>车商信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>车商姓名</em><em class="name-text">{$detail.contact_person}</em>
                        <em>车商电话</em><em class="dian-hua">{$detail.contact_mobile}</em>
                    </li>
                </ul>
            </div>
            <br/>
            <?php if (isset($detail['car_source']) && $detail['car_source'] == 2) { ?>
            <div class="xinxi-conter xinxi-conter1">
                <h4>评估师信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>评估师姓名</em><em class="name-text">{$detail.checker_name}</em>
                        <em>评估师电话</em><em class="dian-hua">{$detail.checker_mobile}</em>
                    </li>
                </ul>
            </div>
            <br/>
            <?php } ?>
            <div class="xinxi-conter xinxi-conter1">
                <h4>车辆信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>车型</em><em class="name-text">{$detail.model}</em>
                        <em>排放标准</em><em class="dian-hua">{$detail.emission}</em>
                    </li>

                    <li class="clearfix">
                        <em>初登日期</em><em class="name-text">{$detail.first_reg_date}</em>
                        <em>颜色</em><em class="dian-hua">{$detail.car_color}</em>
                    </li>
                    <li class="clearfix">
                        <em>表显里程</em><em class="name-text">{$detail.pointer_mileage}万公里</em>
                        <em>车况级别</em><em class="name-text">{$detail.composite_state}{$detail.accident_level}</em>
                    </li>
                    <li class="clearfix">
                        <em>车辆注册地</em><em class="name-text">{$detail.reg_city}</em>
                        <em>车架号</em><em class="name-text">{$detail.vin}</em>
                    </li>                    
                    <li class="clearfix">
                        <em>过户限制</em><em class="name-text">{$transfer_type[$detail[transfer_limit]]}</em>
                        <em>车牌号</em><em class="name-text">{$detail.plate_prefix}{$detail.plate_suffix}</em>
                    </li>
                    <li class="clearfix">
                        <em>渠道来源</em><em class="name-text">
                            <if condition="$car_detail.comefrom neq ''">
                            <?php if(empty($car_detail['comefrom_url'])):?>
                              <?php echo $show_from[$car_detail['comefrom']];?>
                            <?php else: ?>
                              <a href="{$car_detail.comefrom_url}" target="_blank" rel="noreferrer"><?php echo $show_from[$car_detail['comefrom']];?></a>
                            <?php endif;?>
                            <else/>
                              未知
                            </if>
                        </em>
                        <em>所在地</em><em class="name-text">{$detail.location_area_name}</em>
                    </li>
                </ul>
            </div>
            <br/>
            <?php if (isset($detail['car_source']) && $detail['car_source'] == 1) { ?>
                <div class="xinxi-conter xinxi-conter1">
                    <h4>代驾信息</h4>
                    <ul>
                        <li class="clearfix">
                            <em>代驾姓名</em><em class="name-text">{$detail.driver_name}</em>
                            <em>代驾公司</em><em class="dian-hua">{$detail.driver_company}</em>
                        </li>
                        <li class="clearfix">
                            <em>代驾电话</em><em class="name-text">{$detail.driver_phone}</em>
                            <em>代驾出发时间</em><em class="name-text">
                            <?php if(!empty($detail['depart_time'])){ ?>
                            {$detail.depart_time|strtotime|date='Y-m-d H:i',###}
                            <?php } ?>
                            </em>
                        </li>
                    </ul>
                </div>
            <br/>
            <?php } ?>
            <div class="xinxi-conter xinxi-conter1">
                <h4>复检信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>车况复检员</em><em class="name-text">{$detail.condition_checker_name}</em>
                        <em>复检时间</em><em class="name-text">
                        <?php if(!empty($detail['recheck_time'])){ ?>
                        {$detail.recheck_time|strtotime|date='Y-m-d H:i',###}
                        <?php } ?>
                        </em>
                    </li>
                    <li class="clearfix">
                        <em>复检备注</em><em class="name-text">{$detail.recheck_remark}</em>
                    </li>
                </ul>
            </div>
            <br/>
            <?php if (!empty($detail['issue_status']) && ($detail['issue_status'] == $dataStatus['success'] )) { ?>
            <div class="xinxi-conter xinxi-conter1">
                <h4>争议信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>仲裁员</em><em class="name-text">{$detail.issue_done_emp}</em>
                        <em>仲裁时间</em><em class="name-text">{$detail.issue_done_time}</em>
                    </li>                
                    <li class="clearfix">
                        <em>补偿金额</em><em class="name-text">{$detail.cut_down_price}元</em>
                        <em>过户要求</em><em class="name-text">
                            <?php if ($detail['transfer_type'] == $transferType['company']) { ?>
                            公司过户
                            <?php } else { ?>
                            车商自过
                            <?php } ?>
                        </em>
                    </li>
                    <li class="clearfix">
                        <em>备注</em><em class="name-text">{$detail.remark}</em>
                    </li>
                </ul>
            </div>
            <?php } elseif (!empty($detail['issue_status']) && $detail['issue_status'] == $dataStatus['faild'] || $detail['issue_status'] == $dataStatus['ourfaild'] ) { ?>
            <div class="xinxi-conter xinxi-conter1">
                <h4>争议信息【<?php echo $issueTypes[$detail['issue_type']];?>】</h4>
                <ul>
                    <li class="clearfix">
                        <em>仲裁员</em><em class="name-text">{$detail.issue_done_emp}</em>
                        <em>仲裁时间</em><em class="name-text">{$detail.updatetime}</em>
                    </li>                
                    <li class="clearfix">
                        <?php if($detail['issue_status']==2):?>
                            <em>扣除金额</em>
                        <?php else:?>
                            <em>补偿金额</em>
                        <?php endif;?>
                        <em class="name-text">{$detail.cut_down_price}元</em>
                        <em>解冻保证金</em>
                        <em class="dian-hua">{$bailInfo.occur_money}</em>
                    </li>
                    <li class="clearfix">
                        <em>备注</em><em class="name-text">{$detail.remark}</em>
                    </li>
                </ul>
            </div>
            <?php } ?>
            <br/>
        </div>

        <div class="yongBtn1">
            <input class="quxiao type="submit" value="关闭" onclick="window.close();">
        </div>
    </div>
    <div class="clear"></div>
</div>